.item {
  @include flexbox();
  @include media-breakpoint-down(md) {
    @include flex-direction(column);
  }
}

.item_image {
  margin-right: map-get($spacers, 3);
  & + .item_content {
    & > :first-child {
      margin-top: 0;
      & > :first-child {
        margin-top: 0;
      }
    }
  }
  @include media-breakpoint-down(md) {
    margin-right: 0;
  }
}

.item_content {
  @include flex(1);
  min-width: 0;
}

.item_meta {
  color: $text-color-l;
  font-size: map-get($base, font-size-articles-item-meta);
}

.item_meta_brief {
  color: $text-color-l;
  font-size: map-get($base, font-size-articles-item-meta);
}

a > .item_header, a.item_header, .item_header > a {
  @include link-colors($text-color-d, $main-color-1);
}

.item_table_brief {
  margin: 0;
  padding: 0;
  border: none;
  tbody, tr, td {
    margin: 0;
    padding: 0;
    border: none;
  }

  .item_table_brief_td {
    margin: 0;
    padding: 0;
    border: none;
    font-size: map-get($base, font-size-articles-item-meta);
  }
}

a > .item_header_brief, a.item_header_brief, .item_header_brief > a {
  margin: 0;
  padding: 0;
  border: none;
  font-size: map-get($base, font-size-articles-item_meta);
  @include link-colors($text-color-d, $main-color-1);
}

.item_description {
  &, .article_content {
    font-size: map-get($base, font-size-articles-article_content);
    line-height: map-get($base, line-height);
    @include block-elements() {
      margin-top: map-get($spacers, 2);
      margin-bottom: map-get($spacers, 2);
    }
    @include heading-elements() {
      margin-top: map-get($spacers, 3);
    }
    h1, h2, h3 {
      color: $text-color;
    }
    h1, h2 {
      padding: 0;
      border: none;
    }
    h1 {
      font-size: map-get($base, font-size-h1-xs);
    }
    h2 {
      font-size: map-get($base, font-size-h2-xs);
    }
    h3 {
      font-size: map-get($base, font-size-h3-xs);
    }
    h4 {
      font-size: map-get($base, font-size-h4-xs);
    }
    h5 {
      font-size: map-get($base, font-size-h5-xs);
    }
    h6 {
      font-size: map-get($base, font-size-h6-xs);
    }
    img {
      max-height: 32rem;
      @include media-breakpoint-down(md) {
        max-height: 14rem;
      }
    }
  }
}

.items {
  & > .item {
    &:not(:last-child) {
      margin-bottom: map-get($spacers, 2);
    }
  }
}

.items-divided {
  & > .item {
    &:not(:first-child) {
      padding-top: map-get($spacers, 4);
    }
    &:not(:last-child) {
      padding-bottom: map-get($spacers, 4);
      @include split-line(bottom);
    }
    list-style-type: none;
  }
}